<template>
    <div class="Profile-attendance">
      <AttendanceHeader :profile-name="msg" :profile-image-url="url" :dayInfo="timeinfo"></AttendanceHeader>
      <keep-alive>
        <router-view></router-view>
      </keep-alive>
    </div>
</template>

<script>
import AttendanceHeader from "../component/header.vue";
export default {
  name: "Attendance--Main",
  components: {
    AttendanceHeader
  },
  data() {
    return {
      msg: "hzz",
      url: "http://owtz12sxf.bkt.clouddn.com/01.jpg",
      timeinfo: "2017-13",
      allAttendance: 17,
      lateCount: 1,
      missCard: 2,
      outerAttendance: 3,
      AttendancePercentage: 80
    };
  }
};
</script>
